package com.mzj.saas.mservice.contract.vo;

import com.qiyuesuo.sdk.v2.bean.TemplateParam;

import java.math.BigDecimal;
import java.util.List;

/**
 * 契约锁创建模板合同参数
 * 
 * @author hp
 *
 */
public class QysContractVO {

	/**
	 * 操作类型 0.保存草稿 1.发起
	 */
	private Integer handleType;
	/**
	 * 创建类型 0.模板 1.文件
	 */
	private Integer createType;
	/**
	 * 合同ID
	 */
	private String contractId;
	/**
	 * 模板id
	 */
	private Long templateId;
	/**
	 * 公租房id
	 */
	private String houseId;
	/**
	 * 开始时间 yyyy-MM-dd
	 */
	private String startTime;
	/**
	 * 结束时间yyyy-MM-dd
	 */
	private String entTime;
	/**
	 * 租金
	 */
	private BigDecimal rentAmount;
	/**
	 * 租金标准：元/平方米/月
	 */
	private BigDecimal rentUnitAmount;
	/**
	 * 缴纳方式：1首次年付，后续按月 2首次年付、后续按季 3首次年付，后续按半年 4首次年付，后续按年
	 */
	private Integer payType;
	/**
	 * 履约保证金
	 */
	private BigDecimal earnestMoney;
	/**
	 * 合同文档参数
	 */
	private List<TemplateParam> params;

	/**
	 * 图片base64
	 */
	private String fileBase;

	/**
	 * 合同主题（合同名称）
	 */
	private String subject;

	public String getContractId() {
		return contractId;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}

	public Long getTemplateId() {
		return templateId;
	}

	public void setTemplateId(Long templateId) {
		this.templateId = templateId;
	}

	public String getHouseId() {
		return houseId;
	}

	public void setHouseId(String houseId) {
		this.houseId = houseId;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEntTime() {
		return entTime;
	}

	public void setEntTime(String entTime) {
		this.entTime = entTime;
	}

	public BigDecimal getRentAmount() {
		return rentAmount;
	}

	public void setRentAmount(BigDecimal rentAmount) {
		this.rentAmount = rentAmount;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public BigDecimal getEarnestMoney() {
		return earnestMoney;
	}

	public void setEarnestMoney(BigDecimal earnestMoney) {
		this.earnestMoney = earnestMoney;
	}

	public BigDecimal getRentUnitAmount() {
		return rentUnitAmount;
	}

	public void setRentUnitAmount(BigDecimal rentUnitAmount) {
		this.rentUnitAmount = rentUnitAmount;
	}

	public List<TemplateParam> getParams() {
		return params;
	}

	public void setParams(List<TemplateParam> params) {
		this.params = params;
	}

	public Integer getHandleType() {
		return handleType;
	}

	public void setHandleType(Integer handleType) {
		this.handleType = handleType;
	}

	public String getFileBase() {
		return fileBase;
	}

	public void setFileBase(String fileBase) {
		this.fileBase = fileBase;
	}

	public Integer getCreateType() {
		return createType;
	}

	public void setCreateType(Integer createType) {
		this.createType = createType;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	@Override
	public String toString() {
		return "QysContractVO [handleType=" + handleType + ", createType=" + createType + ", contractId=" + contractId
				+ ", templateId=" + templateId + ", houseId=" + houseId + ", startTime=" + startTime + ", entTime="
				+ entTime + ", rentAmount=" + rentAmount + ", rentUnitAmount=" + rentUnitAmount + ", payType=" + payType
				+ ", earnestMoney=" + earnestMoney + ", params=" + params + "]";
	}
}
